<!DOCTYPE html>
<html>
	<head>
	    <meta charset="utf-8">
	    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
	    <title>{cscms:title}</title>
	    <meta name="Keywords" content="{cscms:keywords}" />
	    <meta name="Description" content="{cscms:description}" />
	    <link rel="shortcut icon" href="{cscms:path}favicon.ico" />
	    <link rel="stylesheet" href="{cscms:webpath}packs/font/font.css">
	    <link rel="stylesheet" type="text/css" href="{cscms:tempurl}css/user.css"/>
		<script type='text/javascript' src='{cscms:tempurl}js/wap.js'></script>
	</head>
	<body>
		<div class="header">
	        <a class="logo left" href="{cscms:path}"><img src="{cscms:tempurl}images/logo.png" alt=""></a>
	        <a href="javascript:wap.plutog();" class="more right"><i class="layui-icon">&#xe61a;</i></a>
	        <div class="plugins">
	            <a href="/">主站</a>
	            {cscms:plu table="plugins" field="dir,name" order="asc"}
	                <a href="{cscmsphp}cscmslink('[plu:dir]');{/cscmsphp}">[plu:name]</a>
	            {/cscms:plu}
	            <a href="{cscms:userlink}">会员</a>
	        </div>
	        {cscms:logkuang}
	    </div>
	    <div class="layui-tab layui-tab-card layui-tab-min" style="box-shadow: none;margin-bottom: 0px;border-bottom: 0px">
		    <ul class="layui-tab-title" style="">
		        <li class="layui-this">人气榜</li>
		        <li>活跃榜</li><span class="zx">当前在线用户&nbsp;<em class="colorr">{cscmscount param="user|zx=1"}</em>人</span>
		    </ul>
		    <div class="layui-tab-content">
		        <div class="layui-tab-item layui-show" style="overflow: hidden;zoom: 1;">
			        {cscms:user table="user" order="desc" sort="hits" loop="9"}
			        	<li class="dt-one2" id="del[user:id]" >
			        		<a target="_blank" class="dt-img" href="[user:url ulink=index]"><img src="[user:user zd=logo]"></a>
			        		<div class="dt-neir">
			        			<div class="dt-title">
			        				<a style="font-weight: normal;" href="[user:url ulink=index]">[user:user zd=nichen]</a><a target="_blank" href="[user:url ulink=index]" style="font-size: 12px;color: #666;">([user:user zd=name])</a>
			        			</div>
			        			<div class="fans3"><span>关注</span><font>[user:count zdy=friend,uida,id]</font><span></span><span>|<span></span>粉丝</span><font>[user:count zdy=fans,uida,id]</font><span></span><span>|<span></span>人气</span><font>[user:hits]</font></div>
			        			<div class="dt-nl">
			        				个性签名：[user:user zd=qianm]
			        			</div>
			        		</div>
			        		<hr style="margin-bottom: 4px">
			        		<div class="fans-more">
			        			<a href="[user:url userlink=msg,add]?user=[user:name]">给Ta私信</a><a href="[user:url ulink=index]">访问空间</a>
			        		</div>
			        	</li>
			        {/cscms:user}
		        </div>
		        <div class="layui-tab-item" style="overflow: hidden;zoom: 1;">
			        {cscms:user table="user" order="desc" sort="logtime" loop="9"}
			        	<li class="dt-one2" id="del[user:id]" >
			        		<a target="_blank" class="dt-img" href="[user:url ulink=index]"><img src="[user:user zd=logo]"></a>
			        		<div class="dt-neir">
			        			<div class="dt-title">
			        				<a style="font-weight: normal;" href="[user:url ulink=index]">[user:user zd=nichen]</a><a target="_blank" href="[user:url ulink=index]" style="font-size: 12px;color: #666;">([user:user zd=name])</a>
			        			</div>
			        			<div class="fans3"><span>关注</span><font>[user:count zdy=friend,uida,id]</font><span></span><span>|<span></span>粉丝</span><font>[user:count zdy=fans,uida,id]</font><span></span><span>|<span></span>人气</span><font>[user:hits]</font></div>
			        			<div class="dt-nl">
			        				个性签名：[user:user zd=qianm]
			        			</div>
			        		</div>
			        		<hr style="margin-bottom: 4px">
			        		<div class="fans-more">
			        			<a href="[user:url userlink=msg,add]?user=[user:name]">给Ta私信</a><a href="[user:url ulink=index]">访问空间</a>
			        		</div>
			        	</li>
			        {/cscms:user}
		        </div>
		    </div>
		</div>
		<div class="layui-tab layui-tab-card" style="margin: 0px;">
            <ul class="layui-tab-title">
                <li class="layui-this">全站动态</li>
            </ul>
            <div class="layui-tab-content" style="overflow: hidden;height: 582px;padding-left: 0px;">
                <div class="layui-tab-item layui-show" id="demo"style="overflow: hidden;height: 582px;position: absolute;">
                    <ul id="demo1">
                    {cscms:dt table="dt" field="*" loop="30" sort="addtime" order="desc"}
                        <li class="dt-one dt-one-uc" style="border: 0px">
                            <a target="_blank" class="dt-img" href="[dt:url ulink=index]"><img src="[dt:user zd=logo]?size=60*60"></a>
                            <div class="dt-neir uc-neir">
                                <div class="dt-time">[dt:addtime style=time]</div>
                                <div class="dt-title"><a target="_blank" href="[dt:url ulink=index]">[dt:user zd=nichen]</a></div>
                                <div class="dt-nl">
                                    [dt:title]<a class="uc-dtlink" target="_blank" href="[dt:link]">《[dt:name]》</a>
                                </div>
                            </div>
                        </li>
                    {/cscms:dt}
                    </ul>
                    <ul id="demo2"></ul>
                </div>
            </div>
        </div>
        {cscms:bottom}
	</body>
	<script type="text/javascript"> 
		var speed=30;
		demo2.innerHTML=demo1.innerHTML
		function Marquee(){
		    if(demo2.offsetTop-demo.scrollTop<=0)
		        demo.scrollTop-=demo1.offsetHeight
		    else{
		        demo.scrollTop++
		    }
		}
		var MyMar=setInterval(Marquee,speed)
		demo.onmouseover=function() {clearInterval(MyMar)}
		demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
	</script>
</html>